package com.flyoil.petromp.entity.entity_home;

import com.flyoil.petromp.base.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/5 0005.
 * banner图列表的实体类
 */

public class BannerListEntity extends BaseEntity {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 0
         * name : string
         * previewer : string
         * url : string
         */

        private int id;
        private String name;
        private String previewer;
        private String url;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPreviewer() {
            return previewer;
        }

        public void setPreviewer(String previewer) {
            this.previewer = previewer;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
